package com.sx.pipeline.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.noober.background.view.BLImageView
import com.sx.pipeline.R
import com.sx.pipeline.repos.http.res.RongGroupVO

/**
 * @Author：YY
 * @Date：2022/2/10
 * @Describe: 群聊列表适配器
 */
class RongGroupListAdapter(dataList: MutableList<RongGroupVO>) : BaseQuickAdapter<RongGroupVO, BaseViewHolder>(
    R.layout.item_rong_group, dataList) {

    override fun convert(holder: BaseViewHolder, item: RongGroupVO) {
        holder.setText(R.id.tv_name,item.name)
        val head=holder.getView<BLImageView>(R.id.iv_head)
    }
}